package cn.jetpiece.cloud.system.dp.app.modular.biz.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * dp_t_project
 *
 * @author jetpiece
 * @since 2023-05-15
 */
@Data
@TableName("dp_t_project")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class DpTProject implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "project_id", type = IdType.AUTO)
    private Integer projectId;

    /**
     * 工程名称(汇川)
     */
    @TableField(value = "project_name")
    private String projectName;

    /**
     * 工程UUID(与外系统关联,oa的uuid)
     */
    @TableField(value = "project_uuid")
    private String projectUuid;

    /**
     * 联系人姓名
     */
    @TableField(value = "link_man")
    private String linkMan;

    /**
     * 联系人办公电话
     */
    @TableField(value = "link_phone")
    private String linkPhone;

    /**
     * 简介
     */
    @TableField(value = "description")
    private String description;

    /**
     * 项目地址
     */
    @TableField(value = "project_address")
    private String projectAddress;

    /**
     * WGS84 经度
     */
    @TableField(value = "lat")
    private String lat;

    /**
     * WGS84 纬度
     */
    @TableField(value = "lng")
    private String lng;

    /**
     * 项目许可证编号
     */
    @TableField(value = "builder_license_num")
    private String builderLicenseNum;

    /**
     * 省份编码
     */
    @TableField(value = "province_code")
    private String provinceCode;

    /**
     * 市编码
     */
    @TableField(value = "city_code")
    private String cityCode;

    /**
     * 区县编码
     */
    @TableField(value = "county_code")
    private String countyCode;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill= FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill= FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 数据状态(0:删除,1:正常,2:保留历史)
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 数据来源(1:系统自建,2:汇川,3:市建委,9:其他)
     */
    @TableField(value = "data_source")
    private Integer dataSource;

    /**
     * 数据来源id
     */
    @TableField(value = "source_id")
    private Integer sourceId;

    /**
     * 平台uuid
     */
    @TableField(value = "platform_uuid")
    private String platformUuid;
}
